<table class="signed-contract-bid table-condensed" data-page="${page!1}" data-page-size="${pageSize!15}" data-count="${count!0}">
	<tr>
		<th class="text-center" width="24"></th>
		<th class="text-center" width="185">投标单位</th>
		<th class="text-center" width="145">项目编号</th>
		<th class="text-center">项目名称</th>
	</tr>
	<#if data?? && (data?size &gt; 0)> <#list data as b>
	<tr class="bid-row" style="cursor: pointer;">
		<td class="for-radio" style="vertical-align: middle;"><input type="radio" name="bid-id" value="${b.id}"></td>
		<td class="text-center own-company">${b.ownCompany}</td>
		<td class="text-center project-no">${b.projectNo}</td>
		<td class="name">${b.name}</td>
	</tr>
	</#list> <#else>
	<tr>
		<td class="text-danger" colspan="4">暂无可关联的投标信息！</td>
	</tr>
	</#if>
</table>

<script type="text/javascript">
	require([ 'suredyList' ], function(List) {
		List('.signed-contract-bid', {
			header : false,
			search : false,
			paginate : function(page, pageSize, key) {
				signedPage(page, pageSize);
			}
		})

		$('table.signed-contract-bid tr.bid-row > td').on('click', function(event) {
			var $this = $(this);

			if ($this.hasClass('for-radio'))
				return true;

			$('[name="bid-id"]', $(this).parent()).prop('checked', true).trigger('change');

			return true;
		})
	});
</script>
